package ModelLayer;

public class DVD 
// instance variables - replace the example below with your own
{    private long dvdId;
    private String title;
    private String artist;
    private String publicationDate;

    public DVD(long dvdId, String title, String artist, String publicationDate)
    {
        this.dvdId = dvdId;
        this.title = title;
        this.artist = artist;
        this.publicationDate = publicationDate;
    }

    //mutator methods

    public void setId(long newId)
    {
        dvdId = newId;
    }

    public void setTitle(String newTitle)
    {
        title = newTitle;
    }

    public void setArtist(String newArtist)
    {
        artist = newArtist;
    }

    public void setPublicationDate(String newPublicationDate)
    {
        publicationDate = newPublicationDate;
    }

    //acessor methods
    public long getId()
    {
        return dvdId;
    }

    public String getTitle()
    {
        return title;
    }

    public String getArtist()
    {
        return artist;
    }

    public String getPublicationDate()
    {
        return publicationDate;
    }
}
